package com.yangpizhu.api.client;

import com.yangpizhu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 谷粒商场-库存服务 Feign 客户端
 * @author yangwei
 * @version 1.0
 * @since 2025/09/25 21:33
 */
@FeignClient(value = "gulimall-ware")
public interface WareClient {

    @RequestMapping("/ware/wareinfo/list")
    R list(@RequestParam Map<String, Object> params);
}
